![]() |
![]() |
![]() |
Call to obtain the x, y or z component of the direction the sun is shining towards.
dir_x#=DC GET LIGHT DIRECTION X() dir_y#=DC GET LIGHT DIRECTION Y() dir_z#=DC GET LIGHT DIRECTION Z()
This command takes no parameters.
The x, y or z component of the sunlight direction.
rem Main loop do ... set directional light 0,dc get light direction x(),dc get light direction y(),dc get light direction z() ... loop
DarkCLOUDS Commands Menu
Index